# name : SQL function ifn, number
# key : sql.ifn.func
# key : sql.function.ifn
# contributor: Shuguang Sun
# --
ifn(${1:logic-ex}, ${2:true}, ${3:false}${4:$$(yas-choose-value '(" " ", missing"))}$0)